@color: pink;
.box {
  background-color: @color;
  .box1 {
    color: green;
    &:hover {
      color: red;
    }
  }
}